<template>
  <div>
    <van-nav-bar
      title="关于我们"
      left-arrow
      fixed
      placeholder
      @click-left="goBack"
    >
      <template #right>
        <van-icon name="search" size="18" />
      </template>
    </van-nav-bar>
    <div class="about-box">努力，再努力一点，什么都会有的</div>
  </div>
</template>
<script>
import { useRouter } from 'vue-router'
import { onMounted, reactive, toRefs } from 'vue'
export default {
  setup () {
    const router = useRouter()
    const state = reactive({

    })
    const init = () => {
    }
    onMounted(() => {
      init()
    })
    const goBack = () => {
      router.go(-1)
    }
    return {
      ...toRefs(state),
      goBack
    }
  }
}
</script>
<style scoped lang="less">
.about-box {
  margin-top: 30px;
  font-size: 20px;
  font-weight: 700;
}
</style>
